<?#//v.3.1.1

#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

require('./includes/config.inc.php');

#// Create new list
if($_POST['action'] == "update" && phpa_securepost($_POST)) {
	$query = "UPDATE PHPAUCTIONXL_users SET endemailmode='".addslashes($_POST['endemailmod'])."', 
			  startemailmode='".addslashes($_POST['startemailmod'])."',reg_date=reg_date 
			  WHERE id=".intval($_SESSION['PHPAUCTION_LOGGED_IN']);
	$res = @mysql_query($query);
	if(!$res) {
		MySQLError($query);
		exit;
	} else {
		$ERR = $MSG_25_0192;
	}
}


$EMAILMODE = @mysql_fetch_array(@mysql_query("SELECT startemailmode,endemailmode FROM PHPAUCTIONXL_users WHERE id=".intval($_SESSION['PHPAUCTION_LOGGED_IN'])));

require("header.php");
include phpa_include("template_sellermails_php.html");
//include "./footer.php";

?>